﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace MauTK_Mang1
{
    public abstract class Sorting<T> where T: IComparable<T>
    {
        public abstract void sort(T[] t, IComparer<T> com);
        public abstract void sort(T[] t);
        public void swap(ref T t1, ref T t2)
        {
            T t3 = t1;
            t1 = t2;
            t2 = t3;
        }
    }
}
